package com.luo.aspect;

public class MyAspect {

	public void beforeAdvice(){
		System.out.println("beforeAdvice");
	}

	public void afterAdvice(){
		System.out.println("afterAdvice");
	}

	public void afterReturningAdvice(Object retVal){
		System.out.println("Returning:" + retVal.toString() );
	}

	public void AfterThrowingAdvice(IllegalArgumentException ex){
		System.out.println("There has been an exception: " + ex.toString());
	}



}
